package rim;

import datatypes.r2.basic.II;
import datatypes.r2.basic.ST;

/**
 * Definition of ContextStructure:
 * 
 * A a container within a document.
 * 
 * 文档内的一个容器。
 * 
 * 
 * UsageNotes:
 * 
 * Structures have captions which can be coded. Structures can nest, and
 * structures can contain entries.
 * 
 * An original report is the first version of a report. It gets a new unique
 * value for setId, and has the value of versionNumber set to equal "1."
 * 
 * An addendum is an appendage to an existing report that contains supplemental
 * information. The appendage is itself an original report. The parent report
 * being appended is referenced via an ActRelationship, with
 * ActRelationship.typeCode set to equal "APND" (for "appends"). The parent
 * report being appended remains in place and its content and status are
 * unaltered.
 * 
 * A replacement report replaces an existing report. The replacement report uses
 * the same value for setId as the parent report being replaced, and increments
 * the value of versionNumber by 1. The state of the parent report being
 * replaced should become "superseded," but is still retained in the system for
 * historical reference.
 * 
 * 结构具有可编码的字幕。结构可以嵌套，结构可以包含条目。
 * 
 * 原始报告，是报告的第一个版本。它得到了新的独特的价值SETID，并具有价值的versionNumber设置等于“1”。
 * 
 * 增编是一个现有的报告，其中包含补充信息的附属物。的附属物，本身就是一个原始的报告。父报告被追加通过ActRelationship引用，与等于的“APND”
 * （“追加”）设置ActRelationship.typeCode。被追加母公司报告仍然在地方，其内容和​​地位不会改变。
 * 
 * 更换报告取代现有的报告。更换报告使用父报告被替换为相同值SETID，增量值为1的版本号。被取代父报表的状态，应该成为“取代”，但仍保留在历史参考系统。
 * 
 * 
 * OpenIssue:
 * 
 * The name of this class, and the allowable ActClass values, will be revised so
 * as to be consistent with the ActContainer hierarchy, which is currently
 * undergoing review. (November 2004)
 * 
 * What is the status of the revision? Is a ContextStructure always a "report"?
 * 
 * 这个类的名称，允许ActClass值，将修订，以便与ActContainer层次，目前正在接受审查的一致。 （2004年11月）
 * 
 * 修订的状态是什么？是ContextStructure总是“报告”？
 * 
 * @author Obama
 * 
 */
public class ContextStructure extends Act {

	private static final long serialVersionUID = 1L;
	/**
	 * Definition: A unique identifier for a report.
	 * 
	 * 为报表的唯一标识符。
	 * 
	 * 
	 * UsageNotes:
	 * 
	 * The setID remains constant across all revisions that derive from a common
	 * original.
	 * 
	 * 在SETID所有修改，从一个普通的原始派生仍然不变。
	 */
	private II setId;
	/**
	 * Definition: A unique identifier for a version of a report.
	 * 
	 * 一个报告的一个版本的唯一标识符。
	 * 
	 * 
	 * UsageNotes:
	 * 
	 * The Modeling and Methodology Work Group will seek HL7 endorsement for a
	 * data type flavor of string that constrains the string to numerals only.
	 * This flavor, when available, can be used to constrain this attribute in
	 * such a way that users who prefer the previous "integer" version number
	 * can remain consistent with previous RIM releases of this attribute.
	 * 
	 * 建模和方法论工作组将寻求HL7的认可为一个字符串数据类型的味道，制约了串数字只。本味，可用时，可以使用此属性的限制，在这样一种方式，喜欢以前的“
	 * 整数”的版本号，用户可以保持与此属性的先前的RIM发布一致。
	 */
	private ST versionNumber;

}
